package com.imti.mall.order.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.imti.mall.model.pms.pojo.PmsProductFullReduction;
import com.imti.mall.order.mapper.ProductFullReductionMapper;
import com.imti.mall.order.service.ProductFullReductionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProductFullReductionServiceImpl extends ServiceImpl<ProductFullReductionMapper, PmsProductFullReduction> implements ProductFullReductionService {

    @Autowired
    private ProductFullReductionMapper productFullReductionMapper;

    @Override
    public PmsProductFullReduction productFullReduction(Long productId) {
        return productFullReductionMapper.productFullReduction(productId);
    }
}
